package com.ruoyi.hk.service.impl;

import com.ruoyi.hk.domain.DocDepartment;
import com.ruoyi.hk.mapper.DocDepartmentMapper;
import com.ruoyi.hk.service.DocDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DocDepartmentServiceImpl implements DocDepartmentService {
    @Autowired
    private DocDepartmentMapper docDepartmentMapper;
    @Override
    public List<DocDepartment> getDepartmentByType() {
        List<DocDepartment> docDepartments = docDepartmentMapper.getDepartmentByType();
        return docDepartments;
    }
}
